﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VSD01
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Operation operation = new Operation();
            int a = 25;
            int b = 5;
            IAdd add = new Operation();
            add.Add();
        }
    }

    public interface IAdd
    {
        void Add();
    }

    public interface ISub
    {
        void Sub();
    }

    public interface IMul
    {
        void Mul();
    }

    public interface IDiv
    {
        void Div();
    }

    public class Operation : IAdd, ISub, IMul, IDiv
    {
        public void Add()
        {
            int a = 0;
            int b = 0;
            int c = a + b;
        }

        public void Mul()
        {
            int a = 0;
            int b = 0;
            int c = a - b;
        }

        public void Sub()
        {
            int a = 0;
            int b = 0;
            int c = a * b;
        }

        public void Div()
        {
            int a = 0;
            int b = 0;
            int c = a / b;
        }
    }
}